<div class="pageFooter clearfix mt5">
	<div class="container clearfix">
		<div class="row mt5">
			<div class="col-xs-3 col-sm-3" >
				<div class="thumbnail text-center alert-success-nobg" onclick="redirect('{:C('SITE_WAP')}')">
	      			<span class="icon icon-home"></span>
	      			<p>首页</p>
	   		 	</div>
			</div>
			<div class="col-xs-3 col-sm-3">
				<div class="thumbnail text-center alert-success-nobg" onclick="redirect('{:U('CustOrder/index')}')">
	      			<span class="icon icon-file"></span>
	      			<p>订单</p>
	   		 	</div>
			</div>
			<div class="col-xs-3 col-sm-3">
				<div class="thumbnail text-center alert-success-nobg" onclick="redirect('{:U('Cart/index')}')">
	      			<span class="icon icon-shopping-cart"></span>
	      			<p>购物车</p>
	   		 	</div>
			</div>
			<div class="col-xs-3 col-sm-3">
				<div class="thumbnail text-center alert-success-nobg" style="border:0"onclick="redirect('{:U('Cust/index')}')">
	      			<span class="icon icon-user"></span>
	      			<p>我的</p>
	   		 	</div>
			</div>
		</div>
		<div class="row">
			<div class="col-xs-12 col-sm-12">
				<form method="get" action="{:U('Product/index')}" name="form_search2" id="form_search2">
				<div class="input-group">
					<span class="input-group-btn">
						<a href="#" class="btn btn-default active gotoTopActBtn" style="border-radius:0;" role="button"><span class="icon icon-chevron-up"></span>顶部</a>
					</span>
					<input type="text" class="form-control" name="name" value="{$search.name}"  maxlength="50" placeholder="商品关键字">
					<input type="hidden" name="cate_code"  value="{$search.cate_code}" />
					<span class="input-group-btn">
						<button class="btn btn-warning" id="searchProductBtn2" style="border-radius:0;" type="button"><span class="icon-white icon-search"></span></button>
					</span>
				</div>
				</form>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript">
$(document).ready(function(){
	$("#searchProductBtn2").on("click",function(e){
		var formObj = document.forms["form_search2"];
		var formEls = formObj.elements;
		//if(formEls["name"].value==''&&formEls["cate_code"].value==''){
		//	alert('请输入商品名称关键字,或者选择要查询的商品分类');
		//	return false;
		//}
		formObj.action = "{:U('Product/index')}";
		formObj.submit();
	});
});
</script>